package com.example.mountainwalker.service;

import com.example.mountainwalker.entity.ScenicCommentInfo;
import com.example.mountainwalker.service.impl.PageRequest;
import com.example.mountainwalker.service.impl.PageResult;
import com.example.mountainwalker.vo.ViewScenicComment;

import java.util.List;

public interface ScenicCommentService {
    List<ScenicCommentInfo> getScenicCommentInfo();
    ScenicCommentInfo getScenicCommentInfoById(Integer id);
    int deleteScenicCommentInfoById(Integer id);
    int insertScenicCommentInfo(ScenicCommentInfo ScenicCommentInfo);
    int updateScenicCommentInfo(ScenicCommentInfo ScenicCommentInfo);

    // 使用ViewScenicComment作为返回类型
    PageResult<ViewScenicComment> getScenicCommentInfoByPage(PageRequest pageRequest);

    ViewScenicComment getViewScenicCommentById(Integer id);
}